package com.example.demo.zerenlian;

public class Client {

    public static void main(String[] args) {
        PurchaseRequest purchaseRequest=new PurchaseRequest(1,6000,1);

        //创建审批人
        DepartmentApprover departmentApprover=new DepartmentApprover("尤主任");
        SchoolApprover schoolApprover=new SchoolApprover("校长");
        //需要设置好下个审批级别
        departmentApprover.setApprover(schoolApprover);
        departmentApprover.processRequest(purchaseRequest);
    }
}
